package com.atguigu.springcloud.service.impl;

import com.atguigu.springcloud.service.FeignFallBackService;
import org.springframework.stereotype.Component;

/**
 * @author timiv
 */
@Component
public class FeignFallBackServiceImpl implements FeignFallBackService {

    @Override
    public String payment_ok(Integer id) {
        return "客户端宕机，服务端自动进行降级处理";
    }
}
